package chances.epg.data;

import chances.epg.commons.exception.EpgRuntimeException;

/**
 * 数据访问异常.
 * @author Elysium
 *
 */
public class DataException extends EpgRuntimeException {

	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = 7398098227483354755L;

	public DataException(String message, Throwable cause) {
		super(message, cause);
	}

	@Override
	public String getErrorCode() {
		return EpgRuntimeException.DB_ERROR;
	}

}
